package com.iss.springdemo1.mvc.service;

import org.springframework.stereotype.Service;

@Service
public class UserService implements IUserService {

    public Boolean login(String username){

        if(username.equals("admin")){
            return  true;
        }else {
            return false;
        }
    }
}
